package com.oms.app.sequence.dao;

import com.oms.app.sequence.model.Sequence;
import com.oms.core.dao.IGeneralDAO;


/**
 * @author Loong_Mit
 * @date Sep 5, 2012 8:17:21 PM
 */

public interface ISequenceDAO extends IGeneralDAO<Sequence, String> {
	
	/**
	 * 得到某个表的SEQUENCE实体
	 * @param tableName
	 * @return
	 */
	public Sequence getSequence(String tableName);
	
	/**
	 * 更新某张表的SEQUENCE数据
	 * @param sequence
	 * @return
	 */
	public int updateSequence(Sequence sequence);
	
	/**
	 * 插入某张表的SEQUENCE数据
	 * @param tableName
	 */
	public void insertSequence(String tableName);
}
